package com.md.leeion;

import java.util.Scanner;

public class Demo2 {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		System.out.println("请输入一个数：");
		int num =scan.nextInt();
		String str=(num%2==0)?num+"为偶数":num+"为奇数";
		System.out.println(str);
		
	}

}